package project.taobao.microsoft.transaction.provider.one.service;

import org.apache.ibatis.annotations.Param;
import project.taobao.microsoft.transaction.api.pojo.OrderItem;
import project.taobao.microsoft.transaction.api.pojo.OrderItemExample;

import java.util.List;

/**
 * @author yhq
 * @date 2020/8/26 10:20
 */
public interface OrderItemService {
    // methods

    long countByExample(OrderItemExample example);

    int deleteByExample(OrderItemExample example);

    int deleteByPrimaryKey(Long id);

    int insert(OrderItem record);

    OrderItem insertWithReturn(OrderItem record);

    int insertSelective(OrderItem record);

    List<OrderItem> selectByExampleWithBLOBs(OrderItemExample example);

    List<OrderItem> selectByExample(OrderItemExample example);

    OrderItem selectByPrimaryKey(Long id);

    int updateByExampleSelective(OrderItem record, OrderItemExample example);

    int updateByExampleWithBLOBs(OrderItem record, OrderItemExample example);

    int updateByExample(OrderItem record, OrderItemExample example);

    int updateByPrimaryKeySelective(OrderItem record);

    int updateByPrimaryKeyWithBLOBs(OrderItem record);

    int updateByPrimaryKey(OrderItem record);

    // getters, setters

    // constructors
}
